package cn.ygh.bbo.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author ygh
 * @Desc
 * @date 2019/11/21
 */
@ServletComponentScan //自动扫描Servlet
@EnableScheduling //定时计划
@MapperScan("cn.ygh.bbo.system.mapper.*") //mapper扫描
@SpringBootApplication
public class SystemRestApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemRestApplication.class,args);
    }
}
